package com.etc.service;

import java.util.List;

import com.etc.entity.Travels;

public interface TravelsService {
	boolean deleteByPrimaryKey(Integer traid);

	boolean insert(Travels record);

	boolean insertSelective(Travels record);

	Travels selectByPrimaryKey(Integer traid);

	boolean updateByPrimaryKeySelective(Travels record);

	boolean updateByPrimaryKey(Travels record);

	// 查询所有的游记
	List<Travels> selectAll();

	// 根据用户ID查询所有的游记
	List<Travels> selectByUserid(int userid);
}
